package com.example.demo.client.vm.cssmqry.user;

import com.example.demo.client.vm.cssmqry.region.QryRegionListVm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-18 11:42:03
 */
@Alias("DetailUserVm")
@ApiModel("用户详细信息")
public class DetailUserVm implements Serializable {
    private static final long serialVersionUID = -1001429392929208102L;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("租户ID")
    private Long tenancyId;
    @ApiModelProperty("登录名")
    private String loginName;
    @ApiModelProperty("昵称")
    private String alias;
    @ApiModelProperty("用户状态")
    private String status;
    @ApiModelProperty("用户类型")
    private String userType;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("全量区域，用/分隔")
    private String fullRegionName;
    @ApiModelProperty("全量区域ID，用,拼接")
    private String fullRegion;
    @ApiModelProperty("区域信息")
    private QryRegionListVm regionVm;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getTenancyId() {
        return tenancyId;
    }

    public void setTenancyId(Long tenancyId) {
        this.tenancyId = tenancyId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getFullRegionName() {
        return fullRegionName;
    }

    public void setFullRegionName(String fullRegionName) {
        this.fullRegionName = fullRegionName;
    }

    public String getFullRegion() {
        return fullRegion;
    }

    public void setFullRegion(String fullRegion) {
        this.fullRegion = fullRegion;
    }

    public QryRegionListVm getRegionVm() {
        return regionVm;
    }

    public void setRegionVm(QryRegionListVm regionVm) {
        this.regionVm = regionVm;
    }

    @Override
    public String toString() {
        return "DetailUserVm{" +
                "userId=" + userId +
                ", tenancyId=" + tenancyId +
                ", loginName='" + loginName + '\'' +
                ", alias='" + alias + '\'' +
                ", status='" + status + '\'' +
                ", userType='" + userType + '\'' +
                ", description='" + description + '\'' +
                ", fullRegionName='" + fullRegionName + '\'' +
                ", fullRegion='" + fullRegion + '\'' +
                ", regionVm=" + regionVm +
                '}';
    }
}
